projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36a94b4
)
wayland: Emit GdkDisplay::setting-changed
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Oct 2017 13:03:08 +0000
(09:03 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 30 Oct 2017 13:28:29 +0000
(09:28 -0400)
We still generate the event too.
That will be removed in a future commit.
gdk/wayland/gdkscreen-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkscreen-wayland.c
b/gdk/wayland/gdkscreen-wayland.c
index b939fef1a054652e99abc588f4b2871ad64d3b01..3a600220bbd73a59b89757803968e2267cfd763b 100644
(file)
--- a/
gdk/wayland/gdkscreen-wayland.c
+++ b/
gdk/wayland/gdkscreen-wayland.c
@@
-123,6
+123,8
@@
notify_setting (GdkScreen *screen,
event.setting.action = GDK_SETTING_ACTION_CHANGED;
event.setting.name = (gchar *)setting;
gdk_event_put (&event);
+
+ gdk_display_setting_changed (gdk_screen_get_display (screen), setting);
}
typedef enum